home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 18 code / OSA Sample / SimpliFace user notes < prev    next >
Unknown  |  1994-01-28  |  4.2 KB  |  [QUIL/quil]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default


id metadata
keyvalue
macFileType[QUIL]
macFileCreator[quil]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 00 00 0e 84 53 69 | 6d 70 6c 69 46 61 63 65 |......Si|mpliFace|
|00000010| 20 76 65 72 73 69 6f 6e | 20 31 2e 30 62 32 3a 20 | version| 1.0b2: |
|00000020| 75 73 65 72 20 6e 6f 74 | 65 73 0d 32 37 20 4a 61 |user not|es.27 Ja|
|00000030| 6e 75 61 72 79 20 31 39 | 39 34 0d 0d 44 65 76 65 |nuary 19|94..Deve|
|00000040| 6c 6f 70 65 64 20 62 79 | 3a 09 0d 09 09 0d 09 09 |loped by|:.......|
|00000050| 50 61 75 6c 20 47 20 53 | 6d 69 74 68 20 28 63 6f |Paul G S|mith (co|
|00000060| 6d 6d 73 74 61 6c 6b 20 | 68 71 20 26 20 46 75 6c |mmstalk |hq & Ful|
|00000070| 6c 20 4d 6f 6f 6e 20 53 | 6f 66 74 77 61 72 65 2c |l Moon S|oftware,|
|00000080| 20 49 6e 63 29 0d 0d 48 | 6f 77 20 74 6f 20 6d 61 | Inc)..H|ow to ma|
|00000090| 6b 65 20 63 6f 6e 74 61 | 63 74 3a 0d 09 09 79 6f |ke conta|ct:...yo|
|000000a0| 75 20 63 61 6e 20 6c 65 | 61 76 65 20 6d 65 73 73 |u can le|ave mess|
|000000b0| 61 67 65 73 20 61 74 20 | 28 55 4b 29 3a 20 30 37 |ages at |(UK): 07|
|000000c0| 32 37 20 38 34 34 32 33 | 32 3b 20 28 55 53 29 3a |27 84423|2; (US):|
|000000d0| 20 34 30 38 20 32 35 33 | 20 37 31 39 39 0d 09 09 | 408 253| 7199...|
|000000e0| 42 55 54 20 49 20 70 72 | 65 66 65 72 20 74 6f 20 |BUT I pr|efer to |
|000000f0| 62 65 20 63 6f 6e 74 61 | 63 74 65 64 20 62 79 20 |be conta|cted by |
|00000100| 65 2d 6d 61 69 6c 0d 09 | 09 41 70 70 6c 65 4c 69 |e-mail..|.AppleLi|
|00000110| 6e 6b 3a 20 09 53 4d 49 | 54 48 2e 50 47 0d 09 09 |nk: .SMI|TH.PG...|
|00000120| 49 6e 74 65 72 6e 65 74 | 3a 20 09 53 4d 49 54 48 |Internet|: .SMITH|
|00000130| 2e 50 47 40 61 70 70 6c | 65 6c 69 6e 6b 2e 61 70 |.PG@appl|elink.ap|
|00000140| 70 6c 65 2e 63 6f 6d 0d | 0d 0d 0d 53 69 6d 70 6c |ple.com.|...Simpl|
|00000150| 69 46 61 63 65 20 72 65 | 71 75 69 72 65 73 20 41 |iFace re|quires A|
|00000160| 70 70 6c 65 53 63 72 69 | 70 74 20 76 65 72 73 69 |ppleScri|pt versi|
|00000170| 6f 6e 20 31 2e 31 2e 0d | 0d 54 68 69 73 20 69 73 |on 1.1..|.This is|
|00000180| 20 61 20 73 69 6d 70 6c | 65 20 73 63 72 69 70 74 | a simpl|e script|
|00000190| 61 62 6c 65 20 26 20 61 | 74 74 61 63 68 61 62 6c |able & a|ttachabl|
|000001a0| 65 20 41 45 20 4f 62 6a | 65 63 74 20 4d 6f 64 65 |e AE Obj|ect Mode|
|000001b0| 6c 20 63 6f 6d 70 6c 69 | 61 6e 74 20 61 70 70 6c |l compli|ant appl|
|000001c0| 69 63 61 74 69 6f 6e 2e | 20 49 74 20 6f 66 66 65 |ication.| It offe|
|000001d0| 72 73 20 62 61 73 69 63 | 20 77 69 6e 64 6f 77 20 |rs basic| window |
|000001e0| 62 75 69 6c 64 69 6e 67 | 20 66 61 63 69 6c 69 74 |building| facilit|
|000001f0| 69 65 73 3a 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |ies: you| can use|
|00000200| 20 69 74 20 74 6f 20 63 | 6f 6e 73 74 72 75 63 74 | it to c|onstruct|
|00000210| 20 73 63 72 69 70 74 65 | 64 20 77 69 6e 64 6f 77 | scripte|d window|
|00000220| 73 20 74 68 61 74 20 63 | 6f 6e 74 61 69 6e 20 74 |s that c|ontain t|
|00000230| 65 78 74 20 66 69 65 6c | 64 73 20 28 6e 6f 74 20 |ext fiel|ds (not |
|00000240| 65 64 69 74 61 62 6c 65 | 20 74 65 78 74 2c 20 79 |editable| text, y|
|00000250| 65 74 29 20 61 6e 64 20 | 62 75 74 74 6f 6e 73 2e |et) and |buttons.|
|00000260| 0d 0d 54 68 65 20 6f 62 | 6a 65 63 74 20 63 6f 6e |..The ob|ject con|
|00000270| 74 61 69 6e 6d 65 6e 74 | 20 68 69 65 72 61 72 63 |tainment| hierarc|
|00000280| 68 79 20 66 6f 72 20 53 | 69 6d 70 6c 69 46 61 63 |hy for S|impliFac|
|00000290| 65 20 6c 6f 6f 6b 73 20 | 6c 69 6b 65 20 74 68 69 |e looks |like thi|
|000002a0| 73 3a 0d 0d 20 20 20 61 | 70 70 6c 69 63 61 74 69 |s:.. a|pplicati|
|000002b0| 6f 6e 20 28 73 65 74 74 | 61 62 6c 65 20 70 72 6f |on (sett|able pro|
|000002c0| 70 65 72 74 79 3a 20 73 | 63 72 69 70 74 29 0d 20 |perty: s|cript). |
|000002d0| 20 20 20 20 7c 0d 20 20 | 20 20 20 7c 2d 2d 3e 20 | |. | |--> |
|000002e0| 77 69 6e 64 6f 77 20 28 | 73 65 74 74 61 62 6c 65 |window (|settable|
|000002f0| 20 70 72 6f 70 65 72 74 | 69 65 73 3a 20 73 63 72 | propert|ies: scr|
|00000300| 69 70 74 2c 20 6e 61 6d | 65 2c 20 62 6f 75 6e 64 |ipt, nam|e, bound|
|00000310| 73 2c 20 65 74 63 29 0d | 20 20 20 20 20 20 20 20 |s, etc).| |
|00000320| 20 20 20 20 20 20 7c 0d | 20 20 20 20 20 20 20 20 | |.| |
|00000330| 20 20 20 20 20 20 7c 2d | 2d 3e 20 62 75 74 74 6f | |-|-> butto|
|00000340| 6e 20 28 73 65 74 74 61 | 62 6c 65 20 70 72 6f 70 |n (setta|ble prop|
|00000350| 65 72 74 69 65 73 3a 20 | 73 63 72 69 70 74 2c 20 |erties: |script, |
|00000360| 6e 61 6d 65 2c 20 6b 69 | 6e 64 2c 20 62 6f 75 6e |name, ki|nd, boun|
|00000370| 64 73 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ds). | |
|00000380| 20 20 7c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | |. | |
|00000390| 20 20 7c 2d 2d 3e 20 74 | 65 78 74 20 66 69 65 6c | |--> t|ext fiel|
|000003a0| 64 20 28 73 65 74 74 61 | 62 6c 65 20 70 72 6f 70 |d (setta|ble prop|
|000003b0| 65 72 74 69 65 73 3a 20 | 73 63 72 69 70 74 2c 20 |erties: |script, |
|000003c0| 6e 61 6d 65 2c 20 63 6f | 6e 74 65 6e 74 73 2c 20 |name, co|ntents, |
|000003d0| 62 6f 75 6e 64 73 29 0d | 0d 4f 70 65 6e 20 74 68 |bounds).|.Open th|
|000003e0| 65 20 53 69 6d 70 6c 69 | 46 61 63 65 20 44 69 63 |e Simpli|Face Dic|
|000003f0| 74 69 6f 6e 61 72 79 2c | 20 75 73 69 6e 67 20 74 |tionary,| using t|
|00000400| 68 65 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 53 |he Apple|Script S|
|00000410| 63 72 69 70 74 20 45 64 | 69 74 6f 72 2c 20 74 6f |cript Ed|itor, to|
|00000420| 20 73 65 65 20 6d 6f 72 | 65 20 64 65 74 61 69 6c | see mor|e detail|
|00000430| 73 20 6f 66 20 74 68 65 | 20 63 6f 6e 74 61 69 6e |s of the| contain|
|00000440| 6d 65 6e 74 20 68 69 65 | 72 61 72 63 68 79 20 61 |ment hie|rarchy a|
|00000450| 6e 64 20 74 68 65 20 41 | 70 70 6c 65 20 65 76 65 |nd the A|pple eve|
|00000460| 6e 74 73 20 53 69 6d 70 | 6c 69 46 61 63 65 20 73 |nts Simp|liFace s|
|00000470| 75 70 70 6f 72 74 73 2e | 20 0d 0d 57 68 65 6e 20 |upports.| ..When |
|00000480| 61 6e 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 69 |an Apple| Event i|
|00000490| 73 20 72 65 63 65 69 76 | 65 64 20 62 79 20 53 69 |s receiv|ed by Si|
|000004a0| 6d 70 6c 69 46 61 63 65 | 2c 20 53 69 6d 70 6c 69 |mpliFace|, Simpli|
|000004b0| 46 61 63 65 20 72 65 73 | 6f 6c 76 65 73 20 74 68 |Face res|olves th|
|000004c0| 65 20 6f 62 6a 65 63 74 | 20 74 68 61 74 20 74 68 |e object| that th|
|000004d0| 65 20 65 76 65 6e 74 20 | 69 73 20 61 69 6d 65 64 |e event |is aimed|
|000004e0| 20 61 74 20 28 74 68 65 | 20 27 64 69 72 65 63 74 | at (the| 'direct|
|000004f0| 20 70 61 72 61 6d 65 74 | 65 72 27 20 6f 66 20 74 | paramet|er' of t|
|00000500| 68 65 20 65 76 65 6e 74 | 20 73 70 65 63 69 66 69 |he event| specifi|
|00000510| 65 73 20 74 68 65 20 74 | 61 72 67 65 74 20 6f 62 |es the t|arget ob|
|00000520| 6a 65 63 74 29 2e 20 53 | 69 6d 70 6c 69 46 61 63 |ject). S|impliFac|
|00000530| 65 20 74 68 65 6e 20 64 | 69 73 70 61 74 63 68 65 |e then d|ispatche|
|00000540| 73 20 74 68 65 20 41 70 | 70 6c 65 20 45 76 65 6e |s the Ap|ple Even|
|00000550| 74 20 74 6f 20 74 68 65 | 20 73 63 72 69 70 74 20 |t to the| script |
|00000560| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 6f 62 |of the t|arget ob|
|00000570| 6a 65 63 74 2e 20 0d 0d | 55 73 65 72 2d 69 6e 69 |ject. ..|User-ini|
|00000580| 74 69 61 74 65 64 20 6b | 65 79 62 6f 61 72 64 20 |tiated k|eyboard |
|00000590| 6f 72 20 6d 6f 75 73 65 | 20 61 63 74 69 6f 6e 73 |or mouse| actions|
|000005a0| 20 61 72 65 20 69 6e 74 | 65 72 63 65 70 74 65 64 | are int|ercepted|
|000005b0| 20 62 79 20 53 69 6d 70 | 6c 69 46 61 63 65 2c 20 | by Simp|liFace, |
|000005c0| 61 6e 64 20 63 6f 6e 76 | 65 72 74 65 64 20 74 6f |and conv|erted to|
|000005d0| 20 61 20 73 70 65 63 69 | 61 6c 20 41 70 70 6c 65 | a speci|al Apple|
|000005e0| 20 45 76 65 6e 74 20 63 | 61 6c 6c 65 64 20 61 20 | Event c|alled a |
|000005f0| 27 75 73 65 72 20 65 76 | 65 6e 74 27 2e 20 54 68 |'user ev|ent'. Th|
|00000600| 69 73 20 65 6e 63 61 70 | 73 75 6c 61 74 65 73 20 |is encap|sulates |
|00000610| 74 68 65 20 6b 69 6e 64 | 20 6f 66 20 65 76 65 6e |the kind| of even|
|00000620| 74 20 28 6d 6f 75 73 65 | 20 64 6f 77 6e 20 69 6e |t (mouse| down in|
|00000630| 20 77 69 6e 64 6f 77 20 | 63 6f 6e 74 65 6e 74 2c | window |content,|
|00000640| 20 6d 65 6e 75 20 73 65 | 6c 65 63 74 69 6f 6e 2c | menu se|lection,|
|00000650| 20 6f 72 20 6b 65 79 20 | 70 72 65 73 73 65 64 29 | or key |pressed)|
|00000660| 2c 20 74 6f 67 65 74 68 | 65 72 20 77 69 74 68 20 |, togeth|er with |
|00000670| 6f 74 68 65 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |other in|formatio|
|00000680| 6e 20 74 68 61 74 20 6d | 69 67 68 74 20 62 65 20 |n that m|ight be |
|00000690| 75 73 65 66 75 6c 20 74 | 6f 20 74 68 65 20 73 63 |useful t|o the sc|
|000006a0| 72 69 70 74 20 73 75 63 | 68 20 61 73 20 74 68 65 |ript suc|h as the|
|000006b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 6d 65 6e | name of| the men|
|000006c0| 75 20 61 6e 64 20 74 68 | 65 20 6d 65 6e 75 20 69 |u and th|e menu i|
|000006d0| 74 65 6d 20 28 66 6f 72 | 20 61 20 6d 65 6e 75 20 |tem (for| a menu |
|000006e0| 73 65 6c 65 63 74 69 6f | 6e 20 65 76 65 6e 74 29 |selectio|n event)|
|000006f0| 2e 20 54 68 65 20 27 75 | 73 65 72 20 65 76 65 6e |. The 'u|ser even|
|00000700| 74 27 20 69 73 20 64 69 | 73 70 61 74 63 68 65 64 |t' is di|spatched|
|00000710| 20 74 6f 20 74 68 65 20 | 73 63 72 69 70 74 20 6f | to the |script o|
|00000720| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 77 69 |f the cu|rrent wi|
|00000730| 6e 64 6f 77 20 28 69 66 | 20 74 68 65 72 65 20 69 |ndow (if| there i|
|00000740| 73 20 6f 6e 65 2c 20 6f | 72 20 64 69 72 65 63 74 |s one, o|r direct|
|00000750| 20 74 6f 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | to the |applicat|
|00000760| 69 6f 6e 20 73 63 72 69 | 70 74 20 69 66 20 74 68 |ion scri|pt if th|
|00000770| 65 72 65 20 69 73 20 6e | 6f 74 29 2e 20 54 68 65 |ere is n|ot). The|
|00000780| 20 73 61 6d 70 6c 65 20 | 73 63 72 69 70 74 20 77 | sample |script w|
|00000790| 65 20 68 61 76 65 20 73 | 75 70 70 6c 69 65 73 20 |e have s|upplies |
|000007a0| 72 65 2d 64 69 73 70 61 | 74 63 68 65 73 20 74 68 |re-dispa|tches th|
|000007b0| 69 73 20 61 73 20 61 20 | 73 75 62 72 6f 75 74 69 |is as a |subrouti|
|000007c0| 6e 65 20 63 61 6c 6c 20 | 6d 65 73 73 61 67 65 20 |ne call |message |
|000007d0| 74 6f 20 74 68 65 20 77 | 69 6e 64 6f 77 20 73 63 |to the w|indow sc|
|000007e0| 72 69 70 74 2c 20 77 68 | 69 63 68 20 63 61 6e 20 |ript, wh|ich can |
|000007f0| 68 61 6e 64 6c 65 20 69 | 74 20 69 66 20 69 74 20 |handle i|t if it |
|00000800| 77 69 73 68 65 73 2e 20 | 49 66 20 74 68 65 72 65 |wishes. |If there|
|00000810| 20 69 73 20 61 20 6d 6f | 75 73 65 20 63 6c 69 63 | is a mo|use clic|
|00000820| 6b 20 69 6e 20 61 20 74 | 65 78 74 20 66 69 65 6c |k in a t|ext fiel|
|00000830| 64 20 6f 72 20 62 75 74 | 74 6f 6e 2c 20 74 68 65 |d or but|ton, the|
|00000840| 20 73 63 72 69 70 74 20 | 66 6f 72 20 74 68 65 20 | script |for the |
|00000850| 66 69 65 6c 64 20 6f 72 | 20 62 75 74 74 6f 6e 20 |field or| button |
|00000860| 28 69 66 20 74 68 65 72 | 65 20 69 73 20 6f 6e 65 |(if ther|e is one|
|00000870| 29 20 67 65 74 73 20 66 | 69 72 73 74 20 63 72 61 |) gets f|irst cra|
|00000880| 63 6b 20 61 74 20 74 68 | 65 20 75 73 65 72 20 65 |ck at th|e user e|
|00000890| 76 65 6e 74 2e 0d 0d 54 | 68 65 20 77 61 79 20 74 |vent...T|he way t|
|000008a0| 68 61 74 20 53 69 6d 70 | 6c 69 46 61 63 65 20 77 |hat Simp|liFace w|
|000008b0| 6f 72 6b 73 20 69 73 20 | 74 68 61 74 20 69 66 20 |orks is |that if |
|000008c0| 61 6e 79 20 72 75 6e 2d | 74 69 6d 65 20 65 72 72 |any run-|time err|
|000008d0| 6f 72 20 6f 63 63 75 72 | 73 20 69 6e 20 74 68 65 |or occur|s in the|
|000008e0| 20 73 63 72 69 70 74 20 | 77 68 69 6c 65 20 74 68 | script |while th|
|000008f0| 65 20 75 73 65 72 20 65 | 76 65 6e 74 20 69 73 20 |e user e|vent is |
|00000900| 62 65 69 6e 67 20 68 61 | 6e 64 6c 65 64 2c 20 6f |being ha|ndled, o|
|00000910| 72 20 69 66 20 74 68 65 | 20 6d 65 73 73 61 67 65 |r if the| message|
|00000920| 20 69 73 20 27 63 6f 6e | 74 69 6e 75 65 64 27 20 | is 'con|tinued' |
|00000930| 6f 75 74 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |out of t|he last |
|00000940| 68 61 6e 64 6c 65 72 20 | 74 68 61 74 20 63 61 75 |handler |that cau|
|00000950| 67 68 74 20 69 74 2c 20 | 6f 72 20 69 66 20 74 68 |ght it, |or if th|
|00000960| 65 20 75 73 65 72 20 65 | 76 65 6e 74 20 69 73 20 |e user e|vent is |
|00000970| 6e 6f 74 20 68 61 6e 64 | 6c 65 64 20 61 74 20 61 |not hand|led at a|
|00000980| 6c 6c 2c 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 62 |ll, the |normal b|
|00000990| 65 68 61 76 69 6f 75 72 | 20 66 6f 72 20 74 68 61 |ehaviour| for tha|
|000009a0| 74 20 65 76 65 6e 74 20 | 74 61 6b 65 73 20 70 6c |t event |takes pl|
|000009b0| 61 63 65 20 69 6e 20 74 | 68 65 20 70 72 6f 67 72 |ace in t|he progr|
|000009c0| 61 6d 20 63 6f 64 65 2e | 0d 0d 49 66 20 74 68 65 |am code.|..If the|
|000009d0| 20 75 73 65 72 20 61 74 | 74 65 6d 70 74 73 20 74 | user at|tempts t|
|000009e0| 6f 20 63 6c 6f 73 65 20 | 61 20 77 69 6e 64 6f 77 |o close |a window|
|000009f0| 2c 20 74 68 65 20 27 63 | 6c 6f 73 65 27 20 41 70 |, the 'c|lose' Ap|
|00000a00| 70 6c 65 20 45 76 65 6e | 74 20 6d 65 73 73 61 67 |ple Even|t messag|
|00000a10| 65 20 69 73 20 73 65 6e | 74 20 74 6f 20 74 68 65 |e is sen|t to the|
|00000a20| 20 73 63 72 69 70 74 20 | 6f 66 20 74 68 65 20 77 | script |of the w|
|00000a30| 69 6e 64 6f 77 2e 20 49 | 66 20 74 68 65 20 73 63 |indow. I|f the sc|
|00000a40| 72 69 70 74 20 68 61 6e | 64 6c 65 73 20 74 68 65 |ript han|dles the|
|00000a50| 20 6d 65 73 73 61 67 65 | 20 61 6e 64 20 64 6f 65 | message| and doe|
|00000a60| 73 20 6e 6f 74 20 27 63 | 6f 6e 74 69 6e 75 65 27 |s not 'c|ontinue'|
|00000a70| 20 69 74 2c 20 61 6e 64 | 20 61 73 20 6c 6f 6e 67 | it, and| as long|
|00000a80| 20 61 73 20 6e 6f 20 73 | 63 72 69 70 74 20 65 72 | as no s|cript er|
|00000a90| 72 6f 72 20 6f 63 63 75 | 72 73 2c 20 74 68 65 20 |ror occu|rs, the |
|00000aa0| 77 69 6e 64 6f 77 20 77 | 69 6c 6c 20 6e 6f 74 20 |window w|ill not |
|00000ab0| 62 65 20 63 6c 6f 73 65 | 64 2e 20 4f 74 68 65 72 |be close|d. Other|
|00000ac0| 77 69 73 65 2c 20 74 68 | 65 20 77 69 6e 64 6f 77 |wise, th|e window|
|00000ad0| 20 77 69 6c 6c 20 62 65 | 20 63 6c 6f 73 65 64 20 | will be| closed |
|00000ae0| 61 73 20 6e 6f 72 6d 61 | 6c 2e 0d 0d 53 69 6d 70 |as norma|l...Simp|
|00000af0| 6c 69 46 61 63 65 20 64 | 6f 65 73 20 6e 6f 74 20 |liFace d|oes not |
|00000b00| 73 74 6f 72 65 20 77 69 | 6e 64 6f 77 20 70 72 6f |store wi|ndow pro|
|00000b10| 70 65 72 74 69 65 73 20 | 6f 72 20 6f 62 6a 65 63 |perties |or objec|
|00000b20| 74 20 73 63 72 69 70 74 | 73 20 6f 6e 20 64 69 73 |t script|s on dis|
|00000b30| 6b 2c 20 73 6f 20 65 76 | 65 72 79 20 74 69 6d 65 |k, so ev|ery time|
|00000b40| 20 79 6f 75 20 6c 61 75 | 6e 63 68 20 69 74 20 79 | you lau|nch it y|
|00000b50| 6f 75 20 6e 65 65 64 20 | 74 6f 20 73 65 74 20 75 |ou need |to set u|
|00000b60| 70 20 74 68 65 20 73 68 | 61 72 65 64 20 68 61 6e |p the sh|ared han|
|00000b70| 64 6c 65 72 73 20 61 6e | 64 20 61 70 70 6c 69 63 |dlers an|d applic|
|00000b80| 61 74 69 6f 6e 20 73 63 | 72 69 70 74 73 2c 20 61 |ation sc|ripts, a|
|00000b90| 6e 64 20 79 6f 75 20 6d | 75 73 74 20 72 65 63 72 |nd you m|ust recr|
|00000ba0| 65 61 74 65 20 61 6c 6c | 20 77 69 6e 64 6f 77 73 |eate all| windows|
|00000bb0| 20 61 6e 64 20 77 69 6e | 64 6f 77 20 6f 62 6a 65 | and win|dow obje|
|00000bc0| 63 74 73 2e 20 53 6f 6d | 65 20 73 61 6d 70 6c 65 |cts. Som|e sample|
|00000bd0| 20 73 63 72 69 70 74 73 | 20 61 72 65 20 73 75 70 | scripts| are sup|
|00000be0| 70 6c 69 65 64 20 74 6f | 20 64 65 6d 6f 6e 73 74 |plied to| demonst|
|00000bf0| 72 61 74 65 20 53 69 6d | 70 6c 69 46 61 63 65 3a |rate Sim|pliFace:|
|00000c00| 20 72 75 6e 20 74 68 65 | 73 65 20 75 73 69 6e 67 | run the|se using|
|00000c10| 20 74 68 65 20 41 70 70 | 6c 65 53 63 72 69 70 74 | the App|leScript|
|00000c20| 20 53 63 72 69 70 74 20 | 45 64 69 74 6f 72 2e 0d | Script |Editor..|
|00000c30| 0d 42 65 63 61 75 73 65 | 20 74 68 69 73 20 76 65 |.Because| this ve|
|00000c40| 72 73 69 6f 6e 20 6f 66 | 20 53 69 6d 70 6c 69 46 |rsion of| SimpliF|
|00000c50| 61 63 65 20 64 6f 65 73 | 20 6e 6f 74 20 73 70 65 |ace does| not spe|
|00000c60| 63 69 66 69 63 61 6c 6c | 79 20 73 75 70 70 6f 72 |cificall|y suppor|
|00000c70| 74 20 74 68 65 20 73 68 | 61 72 69 6e 67 20 6f 66 |t the sh|aring of|
|00000c80| 20 73 75 62 72 6f 75 74 | 69 6e 65 73 20 62 65 74 | subrout|ines bet|
|00000c90| 77 65 65 6e 20 73 63 72 | 69 70 74 73 2c 20 6f 72 |ween scr|ipts, or|
|00000ca0| 20 74 68 65 20 73 68 61 | 72 69 6e 67 20 6f 66 20 | the sha|ring of |
|00000cb0| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|00000cc0| 2c 20 74 68 65 20 73 61 | 6d 70 6c 65 20 73 63 72 |, the sa|mple scr|
|00000cd0| 69 70 74 73 20 64 6f 20 | 73 6f 6d 65 20 65 78 74 |ipts do |some ext|
|00000ce0| 72 61 20 77 6f 72 6b 20 | 74 6f 20 73 68 61 72 65 |ra work |to share|
|00000cf0| 20 74 68 65 20 73 75 62 | 72 6f 75 74 69 6e 65 73 | the sub|routines|
|00000d00| 20 69 6e 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | in the |applicat|
|00000d10| 69 6f 6e 20 73 63 72 69 | 70 74 20 62 79 20 6d 61 |ion scri|pt by ma|
|00000d20| 6b 69 6e 67 20 73 75 72 | 65 20 74 68 61 74 20 74 |king sur|e that t|
|00000d30| 68 65 20 70 61 72 65 6e | 74 20 6f 66 20 74 68 65 |he paren|t of the|
|00000d40| 20 77 69 6e 64 6f 77 20 | 73 63 72 69 70 74 20 69 | window |script i|
|00000d50| 73 20 61 6c 77 61 79 73 | 20 74 68 65 20 61 70 70 |s always| the app|
|00000d60| 6c 69 63 61 74 69 6f 6e | 20 73 63 72 69 70 74 2c |lication| script,|
|00000d70| 20 61 6e 64 20 74 68 65 | 20 70 61 72 65 6e 74 20 | and the| parent |
|00000d80| 6f 66 20 65 61 63 68 20 | 62 75 74 74 6f 6e 20 6f |of each |button o|
|00000d90| 72 20 74 65 78 74 20 66 | 69 65 6c 64 20 69 73 20 |r text f|ield is |
|00000da0| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |the scri|pt of th|
|00000db0| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 77 69 6e |e contai|ning win|
|00000dc0| 64 6f 77 2e 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |dow. Not|e that t|
|00000dd0| 68 69 73 20 69 73 20 64 | 6f 6e 65 20 74 68 65 20 |his is d|one the |
|00000de0| 6c 6f 6e 67 20 77 61 79 | 20 69 6e 20 74 68 65 20 |long way| in the |
|00000df0| 73 63 72 69 70 74 73 20 | 74 68 65 6d 73 65 6c 76 |scripts |themselv|
|00000e00| 65 73 2c 20 61 6e 64 20 | 74 68 61 74 20 65 61 63 |es, and |that eac|
|00000e10| 68 20 73 75 63 68 20 73 | 63 72 69 70 74 20 63 6f |h such s|cript co|
|00000e20| 6e 74 61 69 6e 73 20 63 | 6f 70 69 65 73 20 6f 66 |ntains c|opies of|
|00000e30| 20 61 6c 6c 20 69 74 73 | 20 70 61 72 65 6e 74 20 | all its| parent |
|00000e40| 73 63 72 69 70 74 73 2e | 20 59 6f 75 20 64 6f 6e |scripts.| You don|
|00000e50| 27 74 20 68 61 76 65 20 | 74 6f 20 64 6f 61 6c 6c |'t have |to doall|
|00000e60| 20 74 68 69 73 20 69 6e | 20 79 6f 75 72 20 6f 77 | this in| your ow|
|00000e70| 6e 20 73 63 72 69 70 74 | 73 2e 0d 0d 0d 50 61 75 |n script|s....Pau|
|00000e80| 6c 20 47 20 53 6d 69 74 | 68 0d 00 00 00 40 00 0a |l G Smit|h....@..|
|00000e90| 00 06 00 ce 57 00 00 ce | 57 08 01 e0 02 7b 00 ce |....W...|W....{..|
|00000ea0| 56 f0 00 00 00 00 00 35 | 00 01 00 36 00 02 00 45 |V......5|...6...E|
|00000eb0| 00 01 00 81 00 02 00 96 | 00 01 01 43 00 03 01 44 |........|...C...D|
|00000ec0| 00 04 02 9e 00 05 03 d2 | 00 04 0e 85 ff ff 00 00 |........|........|
|00000ed0| 00 6c 00 01 00 13 00 0e | 00 14 01 00 00 12 00 00 |.l......|........|
|00000ee0| 00 00 00 00 00 03 00 0f | 00 0c 00 14 00 00 00 0e |........|........|
|00000ef0| 00 00 00 00 00 00 00 02 | 00 0f 00 0c 00 14 01 00 |........|........|
|00000f00| 00 0e 00 00 00 00 00 00 | 00 01 00 0f 00 0b 00 15 |........|........|
|00000f10| 00 00 00 0e 00 00 00 00 | 00 00 00 02 00 0e 00 0a |........|........|
|00000f20| 00 15 00 00 00 0c 00 00 | 00 00 00 00 00 01 00 0b |........|........|
|00000f30| 00 08 00 16 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 01 2c 00 13 00 0e 00 13 | 00 0e 00 0f 00 0c 00 0f |.,......|........|
|00000f50| 00 0c 00 0f 00 0c 00 0f | 00 0c 00 0f 00 0c 00 0f |........|........|
|00000f60| 00 0c 00 0f 00 0c 00 0f | 00 0c 00 0f 00 0c 00 0f |........|........|
|00000f70| 00 0c 00 0f 00 0c 00 0f | 00 0b 00 0e 00 0a 00 0e |........|........|
|00000f80| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00000f90| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0b |........|........|
|00000fa0| 00 08 00 0b 00 08 00 0b | 00 08 00 0b 00 08 00 0b |........|........|
|00000fb0| 00 08 00 0b 00 08 00 0b | 00 08 00 0e 00 0a 00 0e |........|........|
|00000fc0| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00000fd0| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00000fe0| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00000ff0| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001000| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001010| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001020| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001030| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001040| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001050| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 0e |........|........|
|00001060| 00 0a 00 0e 00 0a 00 0e | 00 0a 00 0e 00 0a 00 00 |........|........|
|00001070| 00 08 00 00 00 00 00 ce | 57 4c 00 00 00 16 00 00 |........|WL......|
|00001080| 00 00 00 00 00 0f 00 0c | 00 14 03 00 00 0e 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 0c | 00 00 00 01 00 27 00 01 |........|.....'..|
|000010a0| 01 a6 02 06 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+